
import request from "@/request/api";
/* 让步接收 */
//查询分页列表
export function getListApi(data) {
    return request({
        url: "/eam-service-order/concession/queryPageList",
        method: "get",
        params: data,
    });
}
//删除
export function deleteApi(id = "") {
    return request({
        url: "/eam-service-order/concession/deleteById",
        method: "delete",
        params: {id},
    });
}
//查询详情
export function getDetailsApi(id = "") {
    return request({
        url: "/eam-service-order/concession/queryById",
        method: "get",
        params: {
            id
        },
    });
}
//新增
export function insertOrUpdateApi(data) {
    return request({
        url: "/eam-service-order/concession/insertOrUpdate",
        method: "post",
        data: data,
    });
}